package ca.uwaterloo.mylongcall;

public class CallCard {
	String Pre, PIN, BigNum, DialNum;
	static int total=0;
	static CallCard inuse;
	static CallCard[] all;
	
	public CallCard (String Pre, String PIN){	//constructor
		this.Pre = Pre; 	//Pre is the prefix of the callcard, say 18669138555;
		this.PIN = PIN; 	//PIN is the PIN of the card.
		this.BigNum = Pre+PIN;
		this.DialNum = Pre+",,1,"+PIN;
	}
	
	public String getPin(){
		return PIN;
	}
	
	public String getPre(){
		return Pre;
	}
	/*public void usethis(){
		ChangeDefaultCallCard(this);
	}*/
	
	

}
